@layout("/common/_dialog.html",{plugins:["laydate","sweet-alert","layer"],js:["/assets/modular/system/car/car_rent.js"]}){
<div class="container-fluid">
    <form id="rentForm" \@submit="submitForm">
        <div class="row">
            <div class="form-group">
                <h5>预计还车时间</h5>
                <div class="controls">
                    <input v-model="returnDate" id="returnDate" type="hidden" class="form-control" autocomplete="off">
                    <input id="dateSelect" type="text" class="form-control" autocomplete="off">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="form-group">
                <h5>租车地点 <span class="text-danger">*</span></h5>
                <div class="controls">
                    <input id="rentPlace" type="text" class="form-control" onclick="CarInfoDlg.rentPlace()">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="form-group">
                <h5>还车地点 <span class="text-danger">*</span></h5>
                <div class="controls">
                    <input id="returnPlace" type="text" class="form-control" onclick="CarInfoDlg.returnPlace()">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="form-group">
                <h5>证件 <span class="text-danger">*</span></h5>
                <div class="controls">
                    身份证号:<input id="idCard" type="text" class="form-control">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-6">
                <div class="text-xs-right">
                    <button class="btn btn-info normal-button-width" \@click="ensure">提交</button>
                    <button class="btn btn-inverse normal-button-width m-l-10" \@click="close">取消</button>
                </div>
            </div>
        </div>
    </form>
</div>
@}

